﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm14.aspx.cs" Inherits="Example.WebForm14" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title>使用向导控件</title>
</head>
<body>
  <form id="form1" runat="server">
    <div>
      使用向导控件<hr />
      <asp:Wizard ID="wzdInvest" runat="server" ActiveStepIndex="0" BackColor="#EFF3FB"
        BorderColor="#B5C7DE" BorderWidth="1px" Font-Names="Verdana"
        Font-Size="0.8em" Height="93px" Width="324px"
        OnFinishButtonClick="wzdInvest_FinishButtonClick">
        <HeaderStyle ForeColor="Blue" />
        <HeaderTemplate>
          <label>编程语言调查</label>
        </HeaderTemplate>
        <WizardSteps>
          <asp:WizardStep ID="ws1" runat="server" Title="Step1">
            <label>你的性别：</label>
            <asp:RadioButtonList ID="rdblSex" runat="server" RepeatDirection="Horizontal">
              <asp:ListItem Selected="True">男</asp:ListItem>
              <asp:ListItem>女</asp:ListItem>
            </asp:RadioButtonList>
          </asp:WizardStep>
          <asp:WizardStep ID="ws2" runat="server" Title="Step2">
            <label>你喜欢的编程语言有哪些：</label>
            <asp:CheckBoxList ID="chklLanguage" runat="server"
              RepeatDirection="Horizontal">
              <asp:ListItem>C</asp:ListItem>
              <asp:ListItem>C#</asp:ListItem>
              <asp:ListItem>Java</asp:ListItem>
              <asp:ListItem>C++</asp:ListItem>
            </asp:CheckBoxList>

          </asp:WizardStep>
          <asp:WizardStep ID="ws3" runat="server" Title="Step3">
            <asp:Label ID="lblFinish" runat="server" Text="调查结束"></asp:Label>
          </asp:WizardStep>
        </WizardSteps>
      </asp:Wizard>
    </div>
  </form>
</body>
</html>
